package com.cooper.scraper.show;

import com.cooper.android.comm.Resource;

import android.widget.BaseAdapter;

public abstract class FanartAdapter<T extends Resource> extends BaseAdapter {
	
	protected FanartsShow<T> fanartsShow;
	
	protected AdapterDataChangedListener dataChangedListener;

	public FanartsShow<T> getFanartViewAdapter() {
		return fanartsShow;
	}

	public void setFanartsShow(FanartsShow<T> fanartsShow) {
		this.fanartsShow = fanartsShow;
	}

	public abstract void destroy();
	
	public abstract void refresh();

	public void setDataChangedListener(AdapterDataChangedListener dataChangedListener) {
		this.dataChangedListener = dataChangedListener;
	}
	

}
